home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 7966 < prev    next >
Encoding:
Text File  |  1996-08-05  |  1.0 KB  |  35 lines

  1. Path: news.informatik.uni-muenchen.de!usenet
  2. From: Kurt Watzka <watzka@stat.uni-muenchen.de>
  3. Newsgroups: comp.lang.c
  4. Subject: Re: heap fragmentation
  5. Date: Thu, 29 Feb 1996 13:24:30 +0100
  6. Organization: Institut fⁿr Statistik
  7. Message-ID: <31359AFE.2467@stat.uni-muenchen.de>
  8. References: <remigy.37.001137F2@uni-duesseldorf.de>
  9. NNTP-Posting-Host: pc7.stat.uni-muenchen.de
  10. Mime-Version: 1.0
  11. Content-Type: text/plain; charset=us-ascii
  12. Content-Transfer-Encoding: 7bit
  13. X-Mailer: Mozilla 2.0 (WinNT; I)
  14.  
  15. Mathias Remigy wrote:
  16. > Hi,
  17. > I have written a program that dynamically allocates
  18. > matrices, defined as _double **M_, taking care to free
  19. > them after use.
  20. > The functions have been tested, and, as far as I can tell
  21. > as a C novice, they are bug free.
  22.  
  23. I'd never say that about a non-trivial program.
  24.  
  25. > The problem is that the program crashes every once in a while,
  26. > complaining about allocation problem. Could heap fragmentation
  27. > be the snag, and if it is, what can I do about it ?
  28.  
  29. Could a _finite_ heap be the the source of your problem? 
  30.  
  31. Kurt
  32.